package cgateway

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ CustomerCgatewayModel = (*customCustomerCgatewayModel)(nil)

type (
	// CustomerCgatewayModel is an interface to be customized, add more methods here,
	// and implement the added methods in customCustomerCgatewayModel.
	CustomerCgatewayModel interface {
		customerCgatewayModel
	}

	customCustomerCgatewayModel struct {
		*defaultCustomerCgatewayModel
	}
)

// NewCustomerCgatewayModel returns a model for the database table.
func NewCustomerCgatewayModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) CustomerCgatewayModel {
	return &customCustomerCgatewayModel{
		defaultCustomerCgatewayModel: newCustomerCgatewayModel(conn, c, opts...),
	}
}
